#include"processbar.h"

void probar(int rate)
{
    char s[100] = "0";
    int i = 0;
    for(i = 0; i < rate; i++)
    {
        s[i] = style;
    }

    printf("[%-100s][%d%%][%c]\r", s, rate, sigh[rate%strlen(sigh)] );
    fflush(stdout); 
}
